package posti.test.swf.dao;

import java.io.Serializable;

public class ReferenceImpl<T> implements Reference<T> {
	private Serializable id;
	private Class<T> type;

	public ReferenceImpl() {
	}

	public ReferenceImpl(Class<T> type, Serializable id) {
		this.type = type;
		this.id = id;
	}

	public Serializable id() {
		return this.id;
	}

	public Class<T> type() {
		return type;
	}

	public void setId(Serializable id) {
		this.id = id;
	}

	public void setType(Class<T> type) {
		this.type = type;
	}
}
